package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class OrdersTransferLog implements Serializable {
    private Integer id;

    /**
     * 子订单号
     *
     * @mbg.generated
     */
    private String childOrderNo;

    /**
     * 原订单商品id
     *
     * @mbg.generated
     */
    private Integer orangeProductId;

    /**
     * 转单目标商品id
     *
     * @mbg.generated
     */
    private Integer targetProductId;

    /**
     * 原订单商品规格id
     *
     * @mbg.generated
     */
    private Integer orangeProductSpecId;

    /**
     * 转单商品规格id
     *
     * @mbg.generated
     */
    private Integer targetProductSpecId;

    /**
     * 原订单商品供应商id
     *
     * @mbg.generated
     */
    private Integer orangeBankerId;

    /**
     * 转单商品供应商id
     *
     * @mbg.generated
     */
    private Integer targetBankerId;

    /**
     * 转单时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 原始订单JSON数据
     *
     * @mbg.generated
     */
    private String orangeJson;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getChildOrderNo() {
        return childOrderNo;
    }

    public void setChildOrderNo(String childOrderNo) {
        this.childOrderNo = childOrderNo;
    }

    public Integer getOrangeProductId() {
        return orangeProductId;
    }

    public void setOrangeProductId(Integer orangeProductId) {
        this.orangeProductId = orangeProductId;
    }

    public Integer getTargetProductId() {
        return targetProductId;
    }

    public void setTargetProductId(Integer targetProductId) {
        this.targetProductId = targetProductId;
    }

    public Integer getOrangeProductSpecId() {
        return orangeProductSpecId;
    }

    public void setOrangeProductSpecId(Integer orangeProductSpecId) {
        this.orangeProductSpecId = orangeProductSpecId;
    }

    public Integer getTargetProductSpecId() {
        return targetProductSpecId;
    }

    public void setTargetProductSpecId(Integer targetProductSpecId) {
        this.targetProductSpecId = targetProductSpecId;
    }

    public Integer getOrangeBankerId() {
        return orangeBankerId;
    }

    public void setOrangeBankerId(Integer orangeBankerId) {
        this.orangeBankerId = orangeBankerId;
    }

    public Integer getTargetBankerId() {
        return targetBankerId;
    }

    public void setTargetBankerId(Integer targetBankerId) {
        this.targetBankerId = targetBankerId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrangeJson() {
        return orangeJson;
    }

    public void setOrangeJson(String orangeJson) {
        this.orangeJson = orangeJson;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", childOrderNo=").append(childOrderNo);
        sb.append(", orangeProductId=").append(orangeProductId);
        sb.append(", targetProductId=").append(targetProductId);
        sb.append(", orangeProductSpecId=").append(orangeProductSpecId);
        sb.append(", targetProductSpecId=").append(targetProductSpecId);
        sb.append(", orangeBankerId=").append(orangeBankerId);
        sb.append(", targetBankerId=").append(targetBankerId);
        sb.append(", createTime=").append(createTime);
        sb.append(", orangeJson=").append(orangeJson);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}